1) Needed to include deleted records that were getting omitted 2) typo in debug output 3) "users" records with a year of 0 get deleted after the corresponding "accounts" record is created
Modified user.inc and user_login to handle authentication on the new accounts table