Improve tracing log in register.cgi