Set cookies on the homepage.