Faster and more reliable logged-in user detection.