fix test for state staAuthenticated