make base compatible with ormauth