Authentication with header param
Using java 1.6
Changed API path and root context