fix basic_auth