Use correct variable when checking auth
Change app identifier for core api routes
Code style for ocs/routes.php
Fix typo