Added support for password-confirm.

Fixes #18