Two different things or their simultaneous combination might have happen:
Either, methanol wasn’t “super dry” and thus, methanolic NaOH was formed that hydrolyzes the methyl ester to free carboxylic group, which is then thermally cleaved during the reaction process.
Or, the concentrated HCl 1N (which is rather concentrated) exothermically neutralized MeONa, during the extraction procedure. The so liberated heat accelerated ester hydrolysis and the further accompanying decarboxylation at room temperature, due to the α-,α’- neighboring with two carbonyl groups.
Thus:
1). You prepare “super dry” methanol, according the protocol that is described in the “Vogel’s Textbook of Practical Organic Chemistry” (treatment with Mg flakes, followed by distillation) and you keep over molecular sieves 4 Å (preheated at 110oC, overnight), in cupped bottle that is sealed with Teflon tape.
2). You extract with HCl 0.1N or saturated NH4Cl, aqueous solution that are preliminary cooled in the refrigerator, at ≈ 4-5oC.
By the way, did you observe any bubble formation, more than usual when adding Na to MeOH and/or any warming of the aqueous phase during extractions?