Fixes #2376: CHttpSession::regenerateID() now checks if session is started before regenerating session ID