I figured out the cookie problem on firefox - it is a subdomain issue - xoops is set to have the website address as tolkienguide.com, instead of www.tolkienguide.com. All the difference - firefox considers these separate websites as far as cookies go. If I type in the shorter name (no www's) the cookie is found and the autologin proceeds normally.