Fix timing issue when doing external redirect.
Fixed another test timing issue.
More timing stuff.
Only set NODE_ENV to 'cron' when running from command line.
More tweeks to get tests running consistently.
More tweeks to get tests running consistently.
Hit logout URL rather than rely on browser.deleteAllCookies which doens't seem to work on IE.
Use restore method on sinon object.
Use wd40.waitForMatchingURL.
Merge pull request #525 from scraperwiki/fix-pricing-tests

Fix pricing tests
Don't change session user when calling another user's API.
Merge pull request #526 from scraperwiki/fix-dashboard-ajax

Don't change session user when calling another user's API.
Merge branch 'master' into 20140206-scraperwikijs