Make TestApp.cookies smarter.