Revert "added basic auth"

This reverts commit 3e98ef9a943a5bd9b2ad1af2cd5f9403d5f671fd.
Revert "Revert "added basic auth""

This reverts commit d83fe3f9980c0748cd2a53bd316eb47d561e5039.