Fix user name encoding.