Added tests to check successful user authentication