change x auth to basic authentication