Use Accepts header on HTTP 400

A 400 error should still use the Accepts header to return data.