We need to open a TCP socket on localhost so that the redirect can be done with the new authentication system.