By default the console config doesn’t inherit settings from the main.php config file. to get a component enabled, you have to specify it in the console config explicitly, this goes for the user component which is the error you have found.
config/base.php: contains configuration shared by web app and console app (maybe like your DB connection?)
config/console.php: contains configuration which is specific to the console app (maye the name?)
config/main.php: contains configuration which is specific to the web app (like default controller - console apps don’t have such a property)
Then, you write config/base.php as you’re used to write it, simply return the array:
// This is the application's base configuration. Any writable
// CWApplication properties can be configured here.
// preloading 'log' component
'preload' => array( 'log' ),
For the main config and the console config, you merge the base config with the stuff that need to be specialized: