Which login method do you use?
modoc: I have my own code I use on my projects.  It uses secure SHA 256 hashing for the passwords.  The code handles registration, login, logout, and forgot password flows.