Fix handling of some potentially bad login events
Merge branch 'master' of https://github.com/tigerhawkvok/php-userhandler
Pull and merge