Fixed an issue where passwords were not being added to the databse.