Bug fix for clearing user's data while destorying user's session.
Additional e2e test cases added for checking access rights.