will encode cookie value