CONN-681: Addressed Overly Broad Grant Fortify scan results

Replaced "ALL" privileges with the "CONNECT" and "RESOURCE" roles and granted the user a SYSTEM tablespace quota.

Also fixed a few SQL errors that prevented the previous version of the script from running successfully.