maintain auth in make_env if it is set up