MDL-39985 add mariadb hack to auth and enrol database tests