Modified security for OAuth 2 implementation