Fix start-stop-daemon permission problems.

Apparently when run through start-stop-daemon, LOGNAME (and USER) is not set.
So we need to get the output of id -u whenever we need LOGNAME.
authd now includes sudo.lib.
rpigo_sudo() now logs command at trace level.