Added authentication helper, made specs pass after breaking them with authentication requirements