WifiNetworkFactory: Use credentials from app's request

Don't use the WifiConfiguration object passed in via the UI for
initiating network connection. Use the credentials from the app's
request and then copy over the SSID from the UI callback.

Bug: 124220879
Test: act.py -c wifi_manager.config -tb dut-name -tc WifiNetworkRequestTest
(Passes with the modified test).
Test: Manual CTS verification.
Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: Ie7319f8e845ffd0717fda8a53471eaa5684b551d
3 files changed