Component/bt: fix auth_mode error when reconnection in SMP(backport V3.1) See merge request idf/esp-idf!3956