Added v2 api support for OAuthRestV2Controller