Correctly handle Django SuspiciousOperation in request.build_absolute_uri