Deal better with the test redis-server during test failures.

When tests failed, it left the test redis-server running, so subsequent
tests would fail. Things should now be cleaned up more aggressively.
Allow authenticated users to ignore ip-based rate limits.