Add test for authentications