SessionHandler::create_sid() didn't check if PS(default_mod) was initialised before attempting to call its create_sid() handler.