Australia and Papua New Guinea have signed a sporting deal accompanied by a strategic and confidential security pact that is designed to curb Chinese influence in the Pacific.