Fix configuring httpd with custom user/group.

(cherry picked from commit 08f9da2e8eb9d3da39a1f28e191bd4fb7fd2fa45)