Changed some minor cookie behaviour.