Add JPA support, add a ResourceConfig for authentication, and change
JettyMain accordingly.