Protect scripts and tests with .htaccess

Change-Id: Ie844194b5af7001a351b25fbd8803f62f7ab39c8
Merge "Protect scripts and tests with .htaccess"