Fixes #3785: Migrate old API accounts to have an ID

http://www.rudder-project.org/redmine/issues/3785