Changes to make file path dynamic

Change the function definition for generateAuthHeader(String httpMethod,
String endPoint,ServletConfig config)
The call will now need a sevlet config param.
eg: getRequest.addHeader("Authorization", auth.generateAuthHeader("GET",
path+urn,getServletConfig()));