Setting the "loggedInAs" session value directly since ->login() method does much more than we really need (cannot easily set cookies from CLI but at least we can still maintain session state).
Setting the "loggedInAs" session value directly since ->login() method does much more than we really need (cannot easily set cookies from CLI but at least we can still maintain session state).

patricknelson/silverstripe-migrations