'Sends a simple API request to SAB to determine if the given connection information is connect
:param host: The host where SAB is running (incl port)
:param username: The username to use for the HTTP request
:param password: The password to use for the HTTP request
:param apikey: The API key to provide to SAB
:return: A tuple containing the success boolean and a message'

@staticmethod
def testAuthentication(host=None, username=None, password=None, apikey=None):

    params = {u'mode': u'queue', u'output': u'json', u'ma_username': username, u'ma_password': password, u'apikey': apikey}
    url = ((host + u'api?') + urllib.urlencode(params))
    sickrage.srCore.srLogger.debug((u'SABnzbd    test    URL:    ' + url))
    (result, f) = SabNZBd._sabURLOpenSimple(url)
    if (not result):
        return (False, f)
    (result, sabText) = SabNZBd._checkSabResponse(f)
    if (not result):
        return (False, sabText)
    return (True, u'Success')
