Add a test for locking and unlocking user accounts

Submitted by:	Robert O'Neil <oneil.rs@gmail.com>
Reviewed by:	will