Use npm instead of spawn
Merge pull request #28 from thaiat/bug-27-npm-login

Use npm instead of spawn
Fixes #27