Could you add tests where you change the cookie name as well as the redirect target url?