Authenticated user not caching

The currently authenticated user was not caching correctly.