JCR-2296  : TestPermissions fails when the cache is disabled with single...

JCR-2296  : TestPermissions fails when the cache is disabled with single mode.