A couple of fixes on redirect, to support an 'admin path' of ''.