Encode the username and password in the URL