Registers the given user name / password pair in main activity for
processing the authentication challenge sent by the target server in
response to any subsequent request for a protected resource.