Tidy up code that reads security.properties.

Don't leak an input stream if an error occurs. Also remove
code related to security property overrides and debugging.

Change-Id: Ibf114ed816827f3da817077b3b5dc10f7453cb46
1 file changed