Add support for connection with credentials, use latest maven versions and add a bit of documentation