pass $env as final param to authenticator