ACCUMULO-2293 Check the correct SecurityErrorCode on ThriftSecurityException in the _flush method