add -u test case for oauth