If server fails init, save any changed or generated settings.

Fixes #1396