Merge pull request #4068 from seanmonstar/hotfix-4067

check observers.logout, not onlogout
allow loggedInUser: false

fixes #4069