Oh my god! I saw that lockdown code, thought it was strange, but didn't think it could be causing the problem. In hindsight, it fit my knowledge of the problem perfectly!
What were we using that for anyway? Is there a newer version of the extension that we could install, in hopes that it would work?