doCriteoAuth function

API Authentication