fix functional test for order
1. log in issue
2. related entity id