Fix SSID/PSK config when using DHCP.