Add support for non-ascii passwords