831: fix jinterface default cookie handling on Windows