When using the automated scan option with OWASP Zap, you supply the URL to attack. This will spider and attack the provided URL, based on selected options.
But, this is often the login page. Given known credentials, how do I log in and then continue scanning (preferably, either by a one-click to Automated Scan button or via command line Full scan)?