Fixed bug when logging out without a remember-me cookie