Improved token garbage collection, by removing outdated tokens before authentication