Added possibility to override tenant and username with optional parameter --tenusername