Fixing identityManager functionality with new proxy