Validate that login field and password are not empty on authentication