Fix: correct config references in api.php bootstrap