That link you referenced really doesn't directly or even indirectly address the problem I am having.
I'm not new to Mechanize, I've created dozens of bots with it over the years but this is the first time I've been in a situation where JS is messing up my login.