Refactor oauth and user service to use the new API response
Add missing tests on authentication service
Add tests for the User service