Fixes bug related to setting passwords with symbols.