Checks the login credentials and creates the session for the client. If the login credentials are correct, the customer is directly forwarded to the control panel dashboard.
|API sub-user ID or username
|API password for the sub-user
Redirect the customer to the dashboard if the login credentials are correct, or to the login form if they are incorrect.