Added test for AUTH and ENCRYPT protocol