bug fix, autorefresh boolean is not set on authenticate method