Cookies tests are flaky

The cookie domains that were being compared were not case-insensitive which caused some tests to fail.
Issue: https://github.com/square/okhttp/issues/999