If the identity is not managed, add to entity manager

When using ZendAuthentication the user entity can be stored as the identity but when you fetch the identity in a future call the entity is just an object and not managed.  This PR will merge an unmanaged entity into the entity manager.