Add password validation to User model
Add test for saving email addresses as lowercase
Make email validity tests more robust