Fixed timing issue with refresh token closes #1007
Merge branch 'master' of github.com:getlantern/lantern