Updates UserManager. Makes PasswordEncoder instantiation lazy.