Fixed recovering passwords