Add support for geonetwork login (when not logged and autologin).