Add localhost as an allowed host name.