Remove trailing EOL markers.

This commit removes trailing EOL markers when reading authentication
strings from the command-line.

Ref #13