cge_utils::get_db() now creates a new connection to the database (once only).
Improvements to entropy in the session_* methods.