OS-3537 lxbrand exiting nodejs repl causes logout
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>