public function testHashedPasswordAuth()
{
$subject = new Form(array('model' => __CLASS__, 'filters' => array('password' => 'sha1'), 'validators' => array('password' => false)));
$request = (object) array('data' => array('username' => 'Bob', 'password' => 's3kr1t'));
$expected = array('username' => 'Bob', 'password' => 'ff44e879c7e013b38e4b970e8a5d47c7f283eed1');
$this->assertEqual($expected, $subject->check($request));
}