Update putname.py
Update putname.py

Changes:

* Refactoring to generalize the code a bit and cut down on duplication.
* Removed the code to delete old auth_ids - seemed a little specific to our situation
djpillen/migration-tools,bentley-historical-library/migration-tools,eckardm/migration-tools