fixes #3543 - added support for running puppet as a different user