Fixed a typo causing a crash on some devices.

If you try to login while offline the responseData is nil. The return is in the wrong place :)