Changed the repository method to accept the credential(string) and has the storage engine compare the lowercase values. At least this is consistent to the strings compared so it should be a consistent experience