[ticket/12656] Pass user object into all console commands.

PHPBB3-12656