module ActionController::HttpAuthentication::Basic

def encode_credentials(user_name, password)

def encode_credentials(user_name, password)
  "Basic #{::Base64.strict_encode64("#{user_name}:#{password}")}"
end