fa44767 Re-split token endpoint as authenticate + endpoint implementation.