Superaging correlation function and ergodicity breaking for Brownian motion in logarithmic potentials