Trim whitespace when adding course authors.