title: Ionic: 401 when using Safari only
body: <p>I've got an Ionic/Angular app with the following code:</p>
  <pre><code>Login(username: string, password: string) {
      this.isLoading = true;
      this.authService.getToken(username, password).subscribe(
          (data: any) =&gt; {
            this.loadingCtrl.create({keyboardClose: true, message: 'Logging in...'})
            .then(async loadingEl =&gt; {
                loadingEl.present();
                await this.moviesService.fetchMovies(data.access).toPromise(); // &lt;-- Here comes the 401
                this.seriesService.fetchSeries(data.access).subscribe(
                  () =&gt; {
                    this.authService.login(username, password);
                    this.isLoading = false;
                    loadingEl.dismiss();
                    this.router.navigateByUrl('/tabs/dashboard');
                  }
                );
            });
          }
        );
    }
  </code></pre>
  <pre><code>fetchMovies(token: string){
  
      this.httpOptions = {
        headers: new HttpHeaders({
          'Authorization': 'Bearer ' + token,
          'Content-Type': 'application/json',
        })
      };
  
      return this.http.get&lt;{[key: string]: MovieData}&gt;(this.url, this.httpOptions).pipe(
        map(async res =&gt; {
          for (const key in res) {
            if (res.hasOwnProperty(key)) {
              let t: any;
              t = await this.http.get(res[key].genre, this.httpOptions).toPromise();
              this._movies.push(
                new Movie(
                  key,
                  res[key].title,
                  res[key].desc,
                  res[key].year,
                  t.title,
                  res[key].thumbnail,
                  res[key].movie,
                  res[key].createdUser,
                  res[key].premium,
                  res[key].hd_quality,
                  res[key].audio_quality));
            }
          }
        })
      );
    } 
  </code></pre>
  <p>When I try it in any browser except safari everything works fine. As soon as I try it in Safari I get an 401 Error on my reqeust.</p>
  <p>Does anyone of you had this problem aswell?</p>