move auth part right before http request
Merge branch 'master' of https://github.com/Mozilla-TWQA/B2G-flash-tool into auth-refactor
Merge pull request #119 from zapion/auth-refactor

Auth refactor