It looks like the adjustment to add multiple accounts involved setting a session variable:
$_SESSION["user_accounts"]
That code no longer exists on the page.
Can you see if you can find that code so it doesn't have to be re-written? Do a site-wide search to see if you can find the missing code and paste it back into the forgot password page.