def METHOD_NAME(context):
    email = configs.get('email')
    password = configs.get('password')
    if configs.get('is_credentials_registered') == 'false':
        register_account(email, password)
        configs['is_credentials_registered'] = 'true'
    authenticate(email, password)