gateone.py:  Fixed the problem that was preventing --new_api_key from working properly.