Authenticated pairing of devices using tapping