Login pending doesn't get cleared when from _loginExpired - which causes issues if you've got an invalid cookie.