passport.email = nsLogin; 
passport.password = nsPassword;
passport.account = nsAccountSandbox;

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

SessionResponse response = _service.login(passport);
Status status = response.status;
_isAuthenticated = status.isSuccess;