createAccountBasic method
Create user with 'basic' authentication scheme and immediately
use it for authentication. Wrapper for createAccount
Implementation
Future createAccountBasic(
String username, String password, bool login, AccountParams? params) {
var secret = base64.encode(utf8.encode(username + ':' + password));
return createAccount('basic', secret, login, params);
}