Logout fix.