Escape password to support special characters.