Added support for obtaining an access token with a username/password.