urlencode usernames and passwords