Fix for #1728

This is how I think things should be fixed if we are okay with adding the cookiejar to `PreparedRequest`s. What do you guys think?