Refactor azure_credentials module
Update _generate_token method:
- update MSI Token generation (add env variables for configurations)
- update populate credentials mechanism for AD (small refactor)
Edited by Vadzim Kulyba
Update _generate_token method: