Changed authenticate endpoints so they can be used for linking now.