more robust test procedure for digest authentication