PermissionManager should not cache anonymous rights under ID 0