MIRTH-3012: Fixed bug that caused code template contexts to not migrate correctly to 3.0. The old ImportConverter class is expecting the version node to be in the serialized XML (for 2.0 or later), otherwise it will increment the scope integer.
Moved the try/catch to include the login call so that exceptions authorizing are logged out to the server and not silenced.
Issue: MIRTH-1960