Fix https authorization