init: fix for reading a password...

...that contains \ and leading/trailing spaces.