fixup js unit tests

vanwege cookie refactoring in 02df1334240814f46f6b1b41b58fd42df6eb11a8