MB-10721 attach ns_server-ui header to every request issued by ui

convenient for any ui specific customizations in rest api

Change-Id: I884b09eb7cb4ba4c8695ed5043c4c021b21d05a4
Reviewed-on: http://review.couchbase.org/36119
Tested-by: Artem Stemkovski <artem@couchbase.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>
MB-10721 ignore basic auth headers for ui issued xhrs

UI doesn't use basic auth, but the browser can still attach
basic auth header which will confuse token based auth

Change-Id: Iba2c256c51d8102593f0d882ae164bfa77a605d6
Reviewed-on: http://review.couchbase.org/36120
Tested-by: Artem Stemkovski <artem@couchbase.com>
Reviewed-by: Aliaksey Artamonau <aliaksiej.artamonau@gmail.com>