Basic authentication system

No core adapters (db) yet. Just the system.