Add confirmation for clearing password

Fixes #925