Added extra debug logging to system user authn

This can help diagnose issues with usernames & passwords. (The actual
details are not shown to the end user for security reasons.)