Fixed cookie redirect logic for IE.