Add support for foreman node being different user from other nodes

Change-Id: Icbe185126e15e8b786b39ee536f6276486c29e7c