Fixed issue where certain ASCII characters wouldn't store properly in cookies.