[#WIZ-216] Automatic logout when session expires does not work on main page