URL encode username and password before sending.