method for a HTTP user agent to provide a user name and password when making a request