Session factory. Creates a new session with the given account and token.
the account associated with the session
the unique token of the session
the session object
if the token is invalid
Session factory. Creates a new session with the given account and token.