As @Jici points out, you should:
- Have a backend workflow for logging in a user which has an ‘email’ and ‘password’ parameter
- Log the user in action
When called, this will return a cookie that can be used to authenticate a subsequent request to whatever other backend workflow you actually want to call.