recover from rebase accident

This was 5 commits, I erased them all with rebase. Oops.

This commit now changes the password hashing mechanism to scrypt and
adds a user struct. It also ignores .test files in .gitignore