The Cookie constructor requires two arguments, name and value.
In window.tcl, the constructor is called with just #auto.
At about line 481, add:
set nm [dict get $c_json name]
set val [dict get $c_json value]
set c_obj [namespace which [::WebDriver::Cookie #auto $nm $val]]
Clif