Improved Shiro JPARealm