login method
Logs the specified user in with the given name and password.
Implementation
Future<List<Capability>> login(String name, String password) async {
final cmd = Command('LOGIN "$name" "$password"');
cmd.logText = 'LOGIN "$name" "(password scrambled)"';
final parser = CapabilityParser(serverInfo);
final response = await sendCommand<List<Capability>>(cmd, parser);
isLoggedIn = true;
return response;
}