replace AuthEnv with valid EnvAuth