You'll need to use these to save their cookie:
CURLOPT_COOKIEFILE => 'data/cookies/x.tmp',
CURLOPT_COOKIEJAR => 'data/cookies/x.tmp',
Also, some times require a cookie to be set before the login is sent. This is often an issue. Often also worth setting:
CURLOPT_SSL_VERIFYHOST => 0,
CURLOPT_SSL_VERIFYPEER => 0,