Fix opauth path generation