new decorator which raises Http404 when PermissionDenied is raised by the requires_privilege decorator