[#858] removing an erroneous if-block in the auth plugins