fork of authcache module