Add authentication exception support