fixed basic auth issue, removed unneeded headers