Rename password field in the database, fix password type bug.