[NEXUS-6133] Only gather nexus settings when user is logged in

https://issues.sonatype.org/browse/NEXUS-6133