<!-- This issue tracker is only for technical issues related to Bitcoin Core.

General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com.

For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/.

If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->

# Describe the issue
Unchecking the "Start Bitcoin Core on System login" causes 0.17.1 to crash on Mac OS.
# What behavior did you expect?
To continue running and not start on reboot.
# What was the actual behavior (provide screenshots if the issue is GUI-related)? 
See video: 
https://twitter.com/_drgo/status/1083409084655665152?s=21
# How reliably can you reproduce the issue, what are the steps to do so? 
Reliably. See above.
# What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? 
0.17.1; downloaded from link on Bitcoin.org; shasum -a 256 matched.
# What type of machine are you observing the error on (OS/CPU and disk type)? 
Mac Mini 2.6 ghz dual core i5, Mac OS Mojave 10.14.2
<!-- For the GUI-related issue on Linux provide names and versions of a distro, a desktop environment and a graphical shell (if relevant). -->

<!-- Any extra information that might be useful in the debugging process. -->
<!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->
# Debug.log 
Doesn't seem to informative...

https://pastebin.com/qckAe3J1
else
    {
        qint64 years = secs / YEAR_IN_SECONDS;
        qint64 remainder = secs % YEAR_IN_SECONDS;
        timeBehindText = QObject::tr("%1 and %2").arg(QObject::tr("%n year(s)", "", years)).arg(QObject::tr("%n week(s)","", remainder/WEEK_IN_SECONDS));
    }
    return timeBehindText;
}
QString formatBytes(uint64_t bytes)
{
    if(bytes < 1024)
        return QString(QObject::tr("%1 B")).arg(bytes);
    if(bytes < 1024 * 1024)
        return QString(QObject::tr("%1 KB")).arg(bytes / 1024);
    if(bytes < 1024 * 1024 * 1024)
        return QString(QObject::tr("%1 MB")).arg(bytes / 1024 / 1024);
    return QString(QObject::tr("%1 GB")).arg(bytes / 1024 / 1024 / 1024);
}
qreal calculateIdealFontSize(int width, const QString& text, QFont font, qreal minPointSize, qreal font_size) {
    while(font_size >= minPointSize) {
        font.setPointSizeF(font_size);
        QFontMetrics fm(font);
        if (fm.width(text) < width) {
            break;
        }
        font_size -= 0.5;
    }
    return font_size;
}
void ClickableLabel::mouseReleaseEvent(QMouseEvent *event)