Updated authentication-server.rb to support the case of 'social login'.