title: Ionic storage "get" returns null only on the second call within method
body: <p>I am facing a very strange issue with Ionic Storage. I have a method that reads a value from the storage and returns an a promise containing an object corresponding to that:</p>
  
  <pre><code>private getAuthorizedOptions(): Promise&lt;RequestOptions&gt;
    {
          return this._storage.get('bdAccessToken')
              .then(v =&gt; {
                  console.log("access token: ", v);
                  let token = v;
                  let header = new Headers({
                      'Authorization': 'Bearer ' + token
                  });
                  let ro = new RequestOptions({
                      headers: header
                  });
                  let options = new RequestOptions();
                  if (options.headers) options.headers.delete("Authorization");
                  options.headers = header;
                  return options;
              });
    }
  </code></pre>
  
  <p>Now I have another method, which will call this above method twice within a chain of actions:</p>
  
  <pre><code>get(url:string, options?:RequestOptions): Observable&lt;Response&gt;
      {   
          return Observable.fromPromise(this.getAuthorizedOptions())
                  .mergeMap((options) =&gt; 
                  {
                      return super.get(url, options)
                          .catch(err =&gt; {
                              if (err &amp;&amp; err.status === 401) 
                              {
                                  return this._authService.refreshToken()
                                      .mergeMap(r =&gt; 
                                          {
                                              return Observable.fromPromise(this.getAuthorizedOptions())
                                                  .mergeMap(opt =&gt; {
                                                      return super.get(url, opt)
                                              });
  
                                          }
                                      )
                                      .catch(err2 =&gt; {
                                          console.log("redirecting.");
                                          this.redirect();
                                          return Observable.throw(err2);
                                      });
                              }
                              else {
                                  return Observable.throw(err);
                              }
                          });
                  });
      }
  </code></pre>
  
  <p>Now tracing these methods shows something strange. The first time the "getAuthorizedOptions()" method is called, it can read the "bdAccessToken" value from the storage very well. The second time it is called, the returned value is NULL.</p>
  
  <p>I have been pulling my hair for two days on this, any help is appreciated like you have never been appreciated before! lol! </p>