Fiexed bugs in authority. Move exception handling out of the importer
Fixed exception handling in tests
Merged