change api key if auth token already exists