Added new test for authentication using oAuth2.