Fix handling to nil in 'app/controllers/oauth_controller.rb:67'