Composer updated to the latest 4.1.x versions.
Commented out the call to session regenerate.