test(recent viewed): Add test for ajax request
Fix logout error on Admin site