Add regression test for authConfig overwrite