Realm will try to reconnect to the login server

There is now a login connector class for the realm server.
Realm server has updated configuration class just like the login server.