Added authorization headers to request

For some reason, the extension kept complaining about Error 401. Adding this to the header solved it.