Don't attempt to apply the API-Filter header on 500s (bug 872572)