Added referer headers to login to old page.