Fix account locking/unlocking.

Change-Id: I12f48a0d8a43934f371e309458970197a385a4ae
Don't panic if deleting non-existant ldap entry.

Change-Id: I8513f4628d7183bc5843dca375e5fffe13562717