extract getRealm() on BasicAuth so subclasses can override.
Merge pull request #8 from bckfnn/basic-auth-realm

extract getRealm() on BasicAuth so subclasses can override.