Fixed the initialization of the API keys for the stand-alone instance