Fix consistency of HTTP status codes reported in log lines.