The Cognos TM1 API provides two server connect/authenticate methods:
TM1SystemServerConnect (when IntegratedSecurityMode = 1 or 2)
TM1SystemServerConnectIntegratedLogin (when IntegratedSecurityMode = 2 or 3)
There is however a 4th security mode for use with CAM/Cognos Access Manager (IntegratedSecurityMode = 4).
As of 9.5, it appears there is still no way to authenticate via the API if you have CAM enabled on the TM1 server. Does anyone know different, or have a workaround?