Not sure if it would "loosen" the glue, but have you tried using small amounts of Isopropyl Alcohol on the battery compartment lid? Or maybe try something similar to the product below.
I love my Nikon P900 but it's suffered at my hands. Bent where I dropped it and smeared with superglue when I was sticking the tripod attachment in place, after it broke off the casing, and the tube burst. The glue also got into the battery flap...
You've probably spotted this long-legged spider hiding in the corner of a house or building.
The cellar spider, also known as the daddy long-legs spider, is almost only ever found indoors, where they benefit from a warm, stable temperature...