[identities tests] Fix new modules for slqalchemy backend.