Test those too (Bug #12383).
Throw exception if passing invalid action (Bug #12317).
[jan] Fix resetting passwords with LDAP driver (Bug #12317).