Hi Piotr (and sorry for the long-ish wait),
I think what's happening in this case is that the AdobeHSAuthenticator's authenticationKey is remembering the last session token you used. Try something like :
cSession.authenticator.authenticationKey = null;
cSession.authenticator.userName = "whatever";
cSession.login();
nigel