fixed authetication test