Fix bug introduced by remove passwords and use of apikeys instead
Check for useEnv (--use-env) for cli usage without prompt