Fix auth cache usage