Use auth_cfg_t.replace_value where appropriate.