Fix a token issue after logging out