Fixed a problem relating to cString NULL pointer handling and a parameter issue with loginToTicServer