* separate out generic device auth to DeviceAuth module * change config name to get_credentials * add debug lines and tested