Backport a17bcff5.
Allow login from a Google access token.
Raise a RequestException for unexpected HTTP status codes.
Reorganize imports.
Allow login from Twitter OAuth1 tokens.
Merge pull request #3 from flebel/master

Add support for login from a Google OAuth2 access token and Twitter OAuth1 token and secret token