Fix a minor issue with editing Credential policies

Also, test repository self-hosting.

Auditors: btrahan