An eco-activist trying to prove loggers had forced a brown bear out of its den was attacked by the animal