[servlet] better handling of cookie updates