Make sure redirects only run when there's cookies