Url encode the username and password