Correctly empty out memoized objects on logout.