Fixed logout caching issue.