Update ad.py

Fixed issue with passing None to ADUser