GEOT_4792: optimizations for the JDBCDataStore.ensureAuthorization method
Merge pull request #450 from mbarto/geot_4792_ensureauthorization_improvements

GEOT_4792: optimizations for the JDBCDataStore.ensureAuthorization method