When testing mk_passwd by itself, the mk_api global is not instantiated.