adding withCredentials to ajax call. Fixes issue in role acceptance with empty page.