moved login caching mode setting to webviewclient