Issue #8375 by tuj: Moved the setting of current user, from angular to symfony