Adapt user check to multi user architecture.

BUG:https://crosswalk-project.org/jira/browse/XWALK-1649

Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>