Refactored api_tokens_controller.rb. Added omniauth method.