Issue 139 fix

Provide a meaningfull errormessage when credentials are incomplete
fixes issue 139