cookies can now be extracted on a converted from bytes to string url

Same problem as before.  Somewhere the url is being converted to bytes,
which is causing all the problems.  It's only when the auth param is
used in request.post, that this happens.