fix ehcacheEntityCache instantiation