It appear you are on the right track, tho most members choose the 'remember me' and stay logged in. The few scripts I am aware of that work with threads rely on just the cookie method and request that the user log in if the cookie can't be found.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.