I was getting a None passed through for api-url... Normally that value comes from identity I think. So when you make a call with --username --api-key it gets that from there... In this case when an api-token is specified there is no call to identity and the url field is't populated. Also the method that handles the init throws an exception if you don't pass the api-url in with an api-token.