Updated API sample

Changed Tomcat for Jetty
Setting java-jwt 2.0