add test to verify the auth from config feature