Fixes JIRA issues SGF-238, SGF-239 and SGF-240 involving jndi-binding ca...

...che settings.