This PR fixes empty domain handling in ResponseCookie.

This PR also updates its test to use its intended inputs.

Comment From: rstoyanchev

Thanks for the catch!