Added password digest, tests, and migrations for #4.