Several people are seeing this issue, but I’m not yet able to reproduce it. The WiFi creds are not actually lost, it’s just that the device doesn’t connect. See this thread WiFi credentials lost after flashing new user firmware (photon). Please give details of your router, and other setup in that thread. Thanks!
Please also describe any changes between now and the time it was working on your original wifi network.