Added tests for user registration and login.