It should instead be using the auth method to determine this because if we're using CustomToken, Password, or OAuthToken we can just pass in the credentials object and no config. Right now login will reject the promise in this case but it should work.