4xx HTTP error responses are logged on debug level instead of error level