Store the admins password for further retrieve

def create_token_file(username=id_generator(), password=id_generator()):
    '''
        Store the admins password for further retrieve
    '''

    cozy_ds_uid = helpers.get_uid('cozy-data-system')
    if not os.path.isfile(LOGIN_FILENAME):
        with open(LOGIN_FILENAME, 'w+') as token_file:
            token_file.write("{0}\n{1}".format(username, password))

    helpers.file_rights(LOGIN_FILENAME, mode=0400, uid=cozy_ds_uid, gid=0)