s3-secrets: Add helper function to set machine account password from secrets_tdb_sync