Fix broken password resets feature