Fix login redirection loop bug
Fix login redirection loop bug

location.replace('/') simulates an HTTP request, whereas `location.path
= '/';` does not.

washingtonpost/datawrapper,washingtonpost/datawrapper,elaOnMars/datawrapper,washingtonpost/datawrapper,elaOnMars/datawrapper,washingtonpost/datawrapper,elaOnMars/datawrapper,elaOnMars/datawrapper,elaOnMars/datawrapper,washingtonpost/datawrapper,elaOnMars/datawrapper,washingtonpost/datawrapper