Added Test case for authentication