[DS-2295] Index authority script malfunctions

This pull request a number of issues with the index authority script: 
* When run multiple times the internal identifiers are recreated 
* When running the index authority script ORCID links to authority keys could get lost. 
* When running the script there would be authorization errors in the logs when updating updates. 
* Pre existing authors weren't properly imported.