fixed form authentication to work with the current TED website.