withRealm

Creates a BasicChallengeUnauthorizedHandler with the given realm (defaults to "API").