Implement device authentication for Model R.