@wmk Indeed disabling cookie error reporting allowed me to simply login a admin user and log out..
oh manually setting Session seemed to work
@kinglozzer Will try that one!
@firesphere Indeed, tried looking in that class but couldnt find anything. Seems
Member handles all logging in in ss3
SilverStripe seems to attempt at setting a cookie in the cli env
No if I try to run the task via cli, I get an error when
Member::login() is called
Uncaught LogicException: Cookie 'alc_enc' can't be set.
That method calls
Member::logIn() which tries to set a cookie