HSEARCH-1490 Wrong classloader used to load configuration files for a ma...

...naged Infinispan cache

Same, for master.