Fixes #7802 - allow user to be passed into qpid module

@iNecas @ehelms updated.