Enhanced tests for login failures