Fixed parsing error when hitting F5 on a login error page with expired session