Added ability to specify Ticket and Token directly in constructor