Enabled security checks in app_dev.php

The frontend controller (app_dev.php) had the access check for localhost
disabled by accident. This is now turned on again.
Merge branch 'hotfix/3.0.1.1'