Updates CustomerContext to cache IsLoggedIn calls to queries required in authentication checks