module ActionController::HttpAuthentication::Basic

def auth_param(request)

def auth_param(request)
  request.authorization.to_s.split(" ", 2).second
end