FS-28: Made the login-check before every function in ServerConnector more stable.