change $.ajaxSetup location for login issue. Create ajaxCacheFix function