Fix typo (res.stautusCode) and check !== 200

Seems res.statusCode was misspelled. Also, the status code check was set up to error if res.statusCode === 200 (where it should have been erroring if not 200). I haven't tested so may need to check the login returns 200 and not 302 etc.
Merge pull request #1 from daviddoran/patch-1

Fix typo (res.stautusCode) and check !== 200