Removal of deprecated PasswordEncoder after Spring Security upgrade