Fix saving config when init fails but --login was not used
Version 2.14