Configure authentication on a device