fix: login won't be handled if syncserver is empty string