postgresql: Enable LDAP and PAM build options

Closes #20603.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>