Pellham Health Scheduling decided that login was too central to hand to a vendor, so it built its own identity service. The first version took six weeks and…