Fix encoding client password