Fix the issue where the `method` field cannot be correctly printed in the trace logs of AuthN HTTP.