[agent-ssh] ensure we send an apiKey credential