Snapshot WIP for password recovery; includes some design info in the comments.