docs: function fetchOfflineLogin(credentials, serverOptions) {
      try {
          var value = localStorage().getItem(computeLocalStorageKey(serverOptions));
          if (!value) {
              return Q.resolve(undefined);
          }
          return cipher.decryptJson(credentials['password'], JSON.parse(value));
      }
      catch (error) {
          return Q.reject(error);
      }
  }