code: public String getCookiePath(boolean resolveMacros) {
  
          String result = m_cookiePath;
          if (resolveMacros) {
              CmsMacroResolver resolver = new CmsMacroResolver();
              // add special mappings for macros
              resolver.addMacro("CONTEXT_NAME", OpenCms.getSystemInfo().getContextPath());
              resolver.addMacro("SERVLET_NAME", OpenCms.getSystemInfo().getServletPath());
              result = resolver.resolveMacros(result);
          }
          return result;
      }
docs: Gets the path to use for the authorization cookie, optionally resolving any macros used.<p>
  
  @param resolveMacros if true, macros should be resolved
  @return the authorization cookie path