Account for empty paths in auth url normalization