title: Android WebView with token cannot access to the account
body: <p>I'm try to access on my website through WebView, but before show to my users the WebView they must enter username and password and after that they could be able to see their account dashboard into WebView.
  The issue is that actually I could keep my auth_token and store it into SharedPreferences but after how I can say to my webview that this user have already done the login and has already the auth_token?
  I would allow my user to use the website while he is on my android app.
  This is the code:
      public class Login_Page extends Activity{
      private SharedPreferences mPreferences;</p>
  
  <pre><code>String token="";
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.login_page);
      mPreferences = getSharedPreferences("CurrentUser", MODE_PRIVATE);}
  
  public void LaunchWebView(View view) {
      WebView myWebView = (WebView) findViewById(R.id.myWebView);
      SharedPreferences prefs =PreferenceManager.getDefaultSharedPreferences(this);
      String token2= mPreferences.getString("auth_token","");
  
      HashMap&lt;String, String&gt; map = new HashMap&lt;String, String&gt;();
  
      String sessionCookie = "staging=" + token;
      map.put("auth_token",token2);
  
      myWebView.loadUrl("url", map);
  }
  }
  </code></pre>