#9544
Error 500 instead of 403 if previous exception is provided to
AccessDeniedException