refactor invalidate_login

now it takes the same option names as the other calls
so we can use consistent data for all the calls

- [ ] Load this branch locally
- [ ] complete verification steps for framework
- [ ] complete verification steps for pro