Allow to specify existing token instead of username/password.  Also get rid of some unused member variables.