Fixed #19802 -- HttpResponse.set_cookie doesn't handle unicode data 

pls, review, thanks :beer: 
This import should be alphabetized, but we can fix that up when committing.