[PATCH 03/10] Consolidate determination of UID/GID to run as