(#18298) Use `==` not `include?` in useradd provider

Andy raised the concern we should use `==` instead of `include?` since
we are checking a single value. This commit addresses the concern.