Gets a token credential for OAuth 1.0/a from servers.