fix auth try_basic