cleanup, format, javadoc
Make client able to use nuxeo-platform-login-token