Replace non-idempotent link to log out with a form.