Missing header X-chkp-sid in login ?

Hi, I'm a newbie on the R80.10 API and face a basic problem: cannot login through the API.

I created a testapi user with super user privilege but cannot login with it through the api but can using the mgmt command after connecting to my management server (see two attached screen shots from SmartConsole with general view of the configuration & admin users)