Changed params of api login to be username/password instead of user/pass