Allow user-specified registration password

This can close #2