Reset anon user flag on successful logins #366