Fixing not using basic auth credentials

Fixing not using basic auth credentials