Allow unicode usernames in headers

Headers are bytes (with either an undefined encoding or latin-1, but
that does not stop us from putting in data that's actually utf-8, as
MW does with MySQL).

Bug: 69354
Change-Id: I062d16604a8b87b5d0c598d4936eca2ecb8303f2