Fix problem with utf8 in passwords, reported by @antonioIrizar