Adding http_basic to device/channel registration
Build: Add btoa polyfill, base64.js