more fixes to CreateAPIKeyOnInitAction