Intercept HTTP requests for 401 ...

... and log the user out if found.