Add localhost permissions for labs testing.

Change-Id: I30b9c8dd54aa9493a22e0ec6c1f8c45e43d926ff
Merge "Add localhost permissions for labs testing." into production