<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_normal_connection(config):
 """ Get the connection either with a username and password or without """

    if config.username and config.password:
        log.debug("connecting with username and password")
        queue_manager = pymqi.connect(
            config.queue_manager_name, config.channel, config.host_and_port, config.username, config.password
        )
    else:
        log.debug("connecting without a username and password")
        queue_manager = pymqi.connect(config.queue_manager_name, config.channel, config.host_and_port)

    return queue_manager