[PHOTON] WiFi.setCredentials() not saving in specific cases

Are all these networks actually available and visible at the time of execusion?
Without the WLAN_CIPHER your device needs to see the network.