Fixed typo in doLogout method, preventing a clean re-login