(maint) validate user against trimmed strings
(maint) validate user against trimmed strings

To see when someone sets the value of user => ' ' and validate
that it is not allowed, ensure to remove any extra spaces for
validation. We don't want to do the same for password, as it
may be possible the password is empty.

ThoughtCrhyme/puppetlabs-chocolatey,ThoughtCrhyme/puppetlabs-chocolatey