Add a regression test for transparent gzip + basic auth

The bug is fixed but there wasn't an obvious test.
See report: https://code.google.com/p/android/issues/detail?id=74026
Merge pull request #1010 from nfuller/TransparentGzipTest

Add a regression test for transparent gzip + basic auth