#107974Missing session in CLI mode could cause problems
Description
I know, there is no real sense for sessions in CLI mode.
On the other hand, I ran into a scenario when an extension hooks into DataHandler and tries to write flash messages to the session. This resulted in the following exception:
> Uncaught TYPO3 Exception Call to a member function set() on null thrown in file /var/www/html/vendor/typo3/cms-core/Classes/Authentication/AbstractUserAuthentication.php in line 1062