A security pact with Fiji has officially come into force at the end of a diplomatically successful week for the Albanese government in the Pacific.