I know that in Spring Security would arise the following:
There was an unexpected error (type=Internal Server Error, status=500). There is no PasswordEncoder