SSO_SYNC ne fonctionne pas

As per

You have to use the following:

$api_username = 'system';