The authd daemon manages all authentication for the proxies, and all user authentication for the gateway. You can run authd with a `-D' argument if you want it to print out messages about authentication requests and their results on the system log. Simply kill the running copy and start a new one. The following command line will achieve the necessary result:
zap authd; authd -D
When you are finished debugging, kill the running copy and start authd again without the debug argument:
zap authd; authd
If authd produces no output at all for the problematic request, this could be because the gateway is handling the request itself and not passing it on to authd. The gwchat program can help in troubleshooting in this case.
You can also run authd with `-F auditfile' on the command line; this will cause it to write an audit trail of its activities to the specified file. This can be useful if the `-D' argument does not provide sufficient diagnostic information.