HUE-1537 [core] serve_404_error does not use 404 status code