treat crlf as lf when read credential

Allow to use Windows style crlf ending in a data file when interacting with the credential helpers