Here is the link to the gist with header & wire logging enabled. https://gist.github.com/jaiganeshm/6126998
If you POST to https://services.enterprisecloud.terremark.com/api/v0.8b-ext2.8/login using your credentials via basic auth, do you get the same error?
ap