Added auth support into tests