views: Preserve 404 and 500 statuses on errors.

Noticed this earlier today while tweaking our Varnish.