Switched use of instanceof to identify Cookie type in Cookie constructor to check string equality of the constructor name because instanceof did not work swaggers cookiejar dependency