Fixed a string split that was resulting in a bad cookie value.