fix the bug that interface 'get-work-command' should only be login required