Actuator authentication manger code snippet is incorrect