fix(session): Handle URLs using Apache's alias directives (refs #5051)