Fix an issue with passwords being encrypted