Turn on the COOKIES flag for the "curl" package. Request on TRAC #811.