Add OAuth 2.0 support (code flow only).