SONAR-3755 fix loading of Java UserSession on Basic auth