Fix logging errors for user-agent test

This fixes logging errors in the user-agent test that were introduced when the user-agent test was split out into its own cert subsuite.