Clear caches if race condition detected in CentralAuthUser::attach

Change-Id: Iaefaa69966328cf1246d2bea30cbe9b1d2d842d9
(cherry picked from commit c3295b662aa8f01a2947a94b810653ef6072d411)
Log $_SERVER['REQUEST_URI'] for broken accounts debugging

Change-Id: I4050dfdaff96ccc64587a774428226a93b49e940
(cherry picked from commit d84f7d27c8bf3312a6b1b89f95049f017c55215e)
Merge "Clear caches if race condition detected in CentralAuthUser::attach" into wmf/1.24wmf16