Cleaned up the testcases for user authentication and authorization