Use the correct grant type when getting a token [#35]
Only fire acquire session if there's a code [#35]

Apparently this event can fire with an empty accessToken sort of result
as well.
Merge pull request #50 from AndrewLorente/master

Hotfix for login