Added support for principal/password arrays.