tweak code for AspNetWindowsAuthProvider
re-factor return PathInfo