Allow overriding credentials from Configuration when calling login

(in particular, account ID & role)
Why not cut these two lines out? I believe this was written before auth_header allowed you to pass creds.