Password hashing configuration

Implement password hashing for the SQL backend, with a customizable configuration for the hashing methods to use.

Bonus point if there is a way that the SQL backend can use passwords generated by OpenLDAP with the right configuration. This would help migration from an OpenLDAP backend to a SQL one.

Edited by Éloi Rivard