fix and factorise the function for the list of users as openshift_users

do not match on the same exact list of people than valid_user ( due to code duplication
and subtle difference between the copies )