Fix problem with reading cookies in IE8.