Consider server port when comparing server cookie hash with expected result