You can deploy and provision a dynamic settings template for your users.
Once downloaded, settings are generated according to your own logic, and can automatically include user authentication information.
For details, please refer to Provisioning Build Tool Settings under Filtered Resources.