AME-11926 Allow TimeService to be mocked from unit tests
OPENAM-8521 CacheBlockBase will deadlock when com.sun.identity.idm.cache.entry.expire.enabled=true