fix: PIN-6288 validate username (email address) before requesting keycloak
Merge request
Changes:
- ignore url query before parsing it
Code should:
- make sense
- follow project conventions (architecture, tech stack, naming)
- not cointain any dead or unused code
- not cointain any technical debt or TODOs without Jira issue
- be tested
- be documented
The full code checklist as well as other useful information about the code review process are on the Code review wiki page
Closes MAPP-6288