Issue #2062791 by joelpittet, natemow, sergeypavlenko, m1r1k, jlindsey15: Remove calls to deprecated global $user and $GLOBALS['user'] in node module.