Fog Computing Security Assessment for Device Authentication in the Internet of Things