We finally got this working. The last problem that Chris fixed was that
Emerald 2.5 has "license" misspelled but EmerAuth.dll looks up the license
table using the correct spelling. After adding a new table named "license"
(correct spelling) and copying the contents of the misspelled table into it,
EmerAuth.dll worked fine.