Moves validation of password to the schema
Refactors first validation test to not touch the database