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