simplify auth by using an alist for the default db test func.