Improve authenticate() method interface
Created by: samsonradu
It would help if we can pass a token parameter to the authenticate() function and in turn to requestTicketValidation(), thus yielding more control to the user over how the ticket is fetched.
Currently the ticket can only be passed via querystring.