If using a direct link to login which is what /tc site does, then redirect to the referer.