You know what's tedious? Authentication. Every project I start needs some sort of authentication system. And every project I start basically from scratch.
I noticed this pattern a while ago and created some libraries to help. You may have used them before.
cbauth is a library that handles creating
user sessions for you app while giving enough customization to use different
authentication methods and session storages....