BZ-9564: add a clearCookies method to noesisUtils
BZ-9564: arrays start at 0