'Filter only options necessary for setting up a cobbler client session
:return: only the options used for session setup'

def get_session_options(self):

    session_options = {}
    for (name, value) in self.config_options.items():
        if (name in ('user', 'password', 'debug_xmlrpc', 'debug')):
            session_options[name] = value
    return session_options
