Add http auth interceptor
Fixed jshint warnings