quote the password string

handle the case where passwords contain [ or ] or : characters which the shell doesn't like.
this changes --password [0:]foo   to be --password '[0:]foo'