fix regression with sign in/up - fixes #284
fix fxa-client tests
Fix the syntax errors.
Merge pull request #288 from mozilla/fix-promises

fix regression with sign in/up - fixes #284