Fix redirect error handling in WikiPageEntityStore.

Change-Id: I4f11d2f46273a63bd148d6231516513bff82494a
Merge "Fix redirect error handling in WikiPageEntityStore."