I tried a SELECT with a WHERE clause searching for a wrong string but the result showed the right string, which further testing showed the WHERE clause with the = operator doesn't return the exact match.
I have tried to search for solutions but can't find any through Google or Stack Overflow.
Simplified example
SELECT *
FROM LoginCredential
WHERE UserID = 'ad'