Base OAuth 3-legged helper class