Update team_city_api.rb

added an authenticate method