fixed a small bug if auth is not installed, click the button get no response

Signed-off-by: Wang Bin <wangbin.zibo@gmail.com>