Corrected all existing tests for oauth.go