Allow login modules with duplicate code within same security domain

* if user declares duplicate login module with same code we generate optional name and then persist it.