Disable security hooks for internal sessions
Fixes semantic change introduced in 96dba2efd16d where internal sessions
started to check attribute permissions.
Closes #3444095
sql('DROP FUNCTION IF EXISTS _fsopen(bytea)')sql('DROP FUNCTION IF EXISTS fspath(bigint, text, text)')