LDAP: Make sure we are passing around ints, not strings

refs #14391
Merge branch 'fix_all_the_logic_thanks_a_bunch_ldap'