allow login using only a token (no username/password)
fix logic of when to get a username/password and when not to
change the tests back to use correct API server
Merge pull request #5 from LuminosoInsight/token-login

token login