Fix 'module' object has no attribute 'IdentityManager'

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>