Switch to DB-based authentication