Re-add network to supplicant when EAP identities changes

Update WifiConfigurationUtil#isSameNetwork to check changes in
both EAP identity and anonymous identity.  So that the network
parameters in wpa_supplicant will get reloaded when the EAP
identities changed.

Bug: 63979263
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: Verify connection to a EAP-SIM network will fail after SIM card
      is replaced

Change-Id: I592018de52c2515dbd64aea0138b5bc88b70fec7
(cherry picked from commit 8e08c5d97b1608e1b173867998dd82e6f44d1d13)
2 files changed