got rid of password columns except digest, cleaned up tests and factory