An encrypted version of your credentials is stored when connecting with the Other user connection method.
For the other connection methods, the application preserves the authentication cookies locally. The ShareGate migration tool will not save the credentials themselves.