If the user is not authed and there's nothing in their QR list, they see the "Paste or Scan" message, rather than the "Tap to Authenticate".
It's these lines that are the problem:
if let encryptedData = encryptedData, !encryptedData.isEmpty {
emptyCell.textLabel?.text = "Authenticate to access your data."
} else {
The "if" doesn't quite test for authentication