Add config option to set password mask character

I don't like using * for masking passwords so I added a way to change the mask character from the configuration.  Any feedback is welcome.