Fix manual connection of configs with multiple security types

Update the security type of the configuration with multiple
security types according to the scan results.

Bug: 189153505
Test: Manual test
Test: atest WifiNetworkSelectorTest
Change-Id: I14d29e524a6d6b6a2165469fd0663b28665adb8e
4 files changed