[feature/session-storage] Fix user.php to use session storage properly

PHPBB3-9733