Add some logging for weird redirected POSTs

Change-Id: Ib19ebc2306e85fdb8c29b5850f2306bec7907938
Merge "Add some logging for weird redirected POSTs" into wmf/1.22wmf13