RevokeAccessOnLogoutHanler now intercepts exceptions from API calls