Fix the logged request url when URLs were rewritten.