Privacy-preserving delegable authentication in the Internet of Things