escape password for special character handling