Fix exception when adding configs with incomplete security types

Fix a possible exception when trying to add configs or suggestions
that do not initialize the EAP method.

Bug: 189182549
Test: atest WifiConfigManagerTest WifiConfigurationUtilTest WifiNetworkSuggestionsManagerTest

Change-Id: Ib63f792c51beb35026e13e22a26d1ea13b387b71
6 files changed