allow setting cookie value from params