Fix a small typo with resultObj in getAccessToken()

Closes #17