Fixed problem with SecurityManager [RMI]