Simplest changes to make Shiro authz caching work

Due to historical reasons, the current LDAP related
realms were broken in aspect of using Shiro authc
caching added in 1.2 of it.