Add a base class for auth backends