#308857 by smk-ka: Fixed usernames containing non-latin1 characters not synced due to missing encoding.