Added tests to session. and authentication pages.