spring security working with hash passwd from database