Fixes #3785: Migrate old API accounts to have an ID
Refs #3785: Make sure no command output gets leaked, in keeping with the rest of the script
Merge pull request #90 from jooooooon/bug_3785/migrate_old_api_accounts_to_have_an_id

Bug 3785/migrate old api accounts to have an