TODO: Change server URL on login. This will only affect new devices with existing users, so will be done later.