Use UserIdentity::isRegistered instead of User::isAnon in BlockManager