treat empty AD credentials as NULL values FS#2781