code: public String setCookie(final String cookie) {
          final String prev = this.cookie;
          this.cookie = cookie;
          return prev;
      }
docs: Set the authorization cookie used by this node.
  
  @return the previous authorization cookie used by this node.