Add unit test for validateUser in authService