Add test cases for authorized request with state.