add support for OAuth tokens