Javascript Redirect To Url With Authorization Header