login now accepts nsdict for login data [AGIOS-35]