Clear cookies on request before setting them in `CheckRedirect` When a redirect response contains new cookies (`Set-Cookie`) these are put in the cookieJar. After this is done the cookies are set on the request using the jar. The problem is that the request already contains the original cookies (without the new ones). This results in cookies being set twice. The solution is to clear the cookies on the request, before setting them again.
Clear cookies on request before setting them in `CheckRedirect`
When a redirect response contains new cookies (`Set-Cookie`) these are put in the cookieJar.
After this is done the cookies are set on the request using the jar.
The problem is that the request already contains the original cookies (without the new ones). This results in cookies being set twice.
The solution is to clear the cookies on the request, before setting them again.

loadimpact/k6,loadimpact/k6