if the persistent login cookie is invalid the middleware throws an error
on the error page the persistent login cookie is also not getting deleted, till clicking the button: 'to startpage'
causing reloads to keep the faulty persistent login cookie
solution
silently try to login, on legitimate error (invalid cookie, cookie expiration) it should simply delete the persistent login cookie, and continue as is
should not delete cookie if backend is restarting or down
if the persistent login cookie is invalid the middleware throws an error on the error page the persistent login cookie is also not getting deleted, till clicking the button: 'to startpage' causing reloads to keep the faulty persistent login cookie
solution