Fixed EZP-20455: eZUser::isLoggedIn does not correctly check user's state

Update ezuservisit when a user logout, to ensure eZUser::isUserLoggedIn getting correct status. Ref: 73ccec1d8fbf63b90f12a8c6c58228a4793541ea

Closes #613