Moved auth modules' getSessionUser into auth index module.