Update AccessDeniedException kernel event handler to stop redirect loop

Fixes #113.