Fix can not re-authentication when session is invalid
Fix can not logout