Update institute permission checks.

Change-Id: I9ae748cb889e87b23bb7e0ed1dfb2c87c19531c7
Remove debugging.

Change-Id: I9db4f9b804dead40c550d93bf931aba67a5e180a