Encode username to utf-8 before urlencoding