replace the constants for JIRA URL, username and password by global variables ,  and  defined in LocalSettings.php
add support for anonymous access to the JIRA instance