add cache authentication helper