Is there a secure login system (based mostly on PHP & MySQL)? I've found a few, but none of them have all 3 features I'm looking for -- secure server-side session management, a login system which can be easily implemented on each page, and a registering system.

I've found some with the login, some with both login & registering, and a few server-side management systems, but I've yet to find one which can implement all 3 simultaneously. Anybody know of a place where I can find a tutorial or example for such a thing?