Trimmed excess whitespace from user credential string.