Add simple password confirmation on registration

This fixes #188 using the simplest possible implementation.