An other way to bypass double encoding is simply to change it just before login


DaoAuthenticationProvider daoProvider =...