Much better API for auth.{cpp, h}