Add CACHED_AUTH_PREPROCESSOR_FUNCTION

Add optional setting to preprocess user before caching