Optimize the session data

Only store the first eight characters of any MD5 hash and never include
the relative path to the installation (`TL_PATH`), because it will be stripped
anyways in `System::getReferer()`.