Add spec authentication helper