I just tried.

Flash old firmware to Mango.
Set it to AP mode and access using its new IP address
Upgrade to the snapshot firmware.

I can still login without problem.