CHEF-4482 : change user attribute comparison to string compares

Here's one possible solution for CHEF-4482. Since at their core these values in /etc/passwd and which are passed to the useradd or usermod binaries are strings we can just compare them all as strings and this case is solved.