Revert "replaced uri auth with header auth"

This reverts commit b43f65005fb6795c6ac6e8b54942695a63770e33.