Fixed handling of Unicode chars in userinfo.