Check whether authentication exception message is available.