OAuth support

Support for OAuth 1.0a and OAuth 2