TT authentication main method (generates SessionID).