Convert to a lowercase string comparison

While testing the PR I found the error message was ToopherApiError: Not allowed: Pairing has not been authorized to authenticate, so Pairing did not match pairing. This should fix the case sensitive search issue.