BZ 905647: Push down cookies to ws lib.

[merge]