Fix for password not in ASCII7 char space

fix #1036