Move some doodads into AuthBaseMixin