fix non-ascii passwords