Clear old api_key values when re-authenticating. GitHub #383