Looking for a semi-secure "user login" framework

**The back story can be ignored. Just skip to the bold question below.
**
I’m working on a site which relies on Joomla for a few features. I want to abandon the bloated Joomla, and I realized that there are only two parts of the Joomla framework that I’m actually using in this project:
[LIST]
[]Users (which includes the standard registration, validation emails, etc)
[
]Database access (Just a few helper classes making handling databases easier)
[/LIST]The latter I can easily code myself, and the former I might be able to scrape together something for, but that will mean more work, delaying this project even more.

**Does anyone know a semi-secure framework in PHP which handles users?

**(and by semi-secure, I mean not storing the passwords in plaintext. :wink: