URL-encode username - fix #4