With this change it is possible to include credentials in the instance metadata which will then be used to access the client endpoints using HTTP Basic authorization. closes #359