Where is the Twisted Web config for specifying redirects of twistedmatrix.com? For this case, adding a redirect seems better than modifying the Trac code.
(Alternately, maybe just make /trac/login a redirect in the web server?)