Fix error when loading without auth config