Add confirm prompt for passwords

Make sure prompt text is more explicit and exit with an error
if given passwords do not match.