I looked up how to delete cookies, and most of the links recommended setting the MaxAge to some large negative number, or the expiration date to January 1970. While this certainly works, it requires the client to refresh the page to have the cookies be deleted. Is there a way to remove the cookie immediately?
Also: you can delete a cookie by pasting
document.cookie = document.cookie + "; max-age=0"
into the console.