Clear email queue before running each acceptance test related to authentication.

I suspect before this the email queue was not being properly cleared when running builds in Travis-CI, which caused some acceptance tests to fail (because there were emails in the queue when there should have been none). This should fix the problem.