Escape password string.