docs: function storeOfflineLogin(credentials, serverOptions, loginResponse) {
      return cipher.encryptJson(credentials['password'], loginResponse).then(function (value) {
          localStorage().setItem(computeLocalStorageKey(serverOptions), JSON.stringify(value));
          return loginResponse;
      });
  }