Added support for setting correct rabbitMQ username
Removed setting ErrorAction for each call