Only show sidebar options that exist
add support for external link
Fix COUCHB-2171 noAccess page mixes 401 and 403 responses