COOPR-583: Added unit test for testing auth service.