fix ACL cache bug, RT#27352, fallout from RT#4696