If you apply a new management IP configuration and the switches fail to talk to the Meraki cloud the switches will try and revert back to what is was before you made the change.
I think this is why it is going back to vlan1.
If you patch a machine into vlan2 does it get access the Internet ok? Is there any firewall that might be limiting access?
If you only have Meraki switches in your network you could also configure the network as a whole to use vlan2 for management. You can fine this under:
Switch/Switch Settings