fix login promise issue

Looks like [Pull Request 57](https://github.com/Vestorly/torii/pull/57) wasn't quite right. This fixes the issue with the promise.