same as above - first autthentication - then filesystem and logging.

We should really keep the loadApps call in base - we don't want to load apps in all public.php and remote.php.
Besides unnecessary code duplication every dev has to call this in the apps public and remote scripts