test for UsePAM disabled

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>