Fix panic in bench_test when database auth is not set.