move ErrorMessageResponse from molgenis-core-ui to molgenis-core
do not hardcode minimum password length