make authentication to CP compatible with the latest WHMCS