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

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Merge pull request #261 from sonatype/NEXUS-6133-basic-auth-dialog

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