PLFM-1725 Replace UnauthorizedException with NotFoundException for entities in the trash can