Describe the bug May cause false redirects

To Reproduce 1. New tab 1 visit http://localhost:8080/test throws an exception 2. New tab 2 visit http://localhost:8080/css/index.css (REDIRECT_URI was removed) 3. Use tab 1 login 4. Was redirected to http://localhost:8080/

Expected behavior 1. New Tab 1 visit http://localhost:8080/test throws an exception 2. New Tab 2 visit http://localhost:8080/css/index.css 3. Use tab 1 login 4. Redirected to http://localhost:8080/test

Sample https://github.com/majian159/spring-security-cookiecache-bug/tree/incorrect_remove_cookie