Fixed up authentication with OAuth