bug #1917: Update user pool cache periodically. Disable the cache for those auth methods that does not need it