Several changes.

- retry is now true by default
- if retry is true, error messages are automatically printed
- allow empty passwords
- correctly pass input and output to read()
Bump version.