Pathologic I've tried the above as far as I can tell and it solves the error with the old web user table but for me you can't login with FormLister, every username/password combination gives the error "Wrong user name or password."
Also, trying to add this to the password reset form:
Gives the error:
Call to a member function fieldPKName() on null
Let me know if you want any of this added to Github instead.