[#987] Fixed how commands as other user is called