How to set up an authentication system for devices in FOTA?