Re-split token endpoint as authenticate + endpoint implementation.