issue #28: support for empty user whitelisting using "{}".
fix to log prepare statements.