A greater crested tern found on Sydney's Northern Beaches has tested positive for H5 bird flu, marking the city's first confirmed case of the deadly strain.