User authentication tests.