Added basic auth to the client