Added a condition to ignore empty Set-Cookie header and tests for it