allow an envvar to be set for r->user