Added fix for issue SS-414

added changes to pass environment name to create database privilege template page