I Built Authentication Three Times Before I Understood It

The mistakes that taught me how modern authentication actually works.