There are two different contributions for making the web ui the default one:
- you need to override login-startup-page-web-contrib.xml to set a higher priority than the the jsf ui one in order to be redirected to web ui after login.
- you need to override url-codecs-web-contrib.xml to set a higher priority than the jsf ui one in oder to have web ui permalink in notification.
The thing is url-codecs-web-contrib.xml does not have a default priority which is misleading.