UK SSO: adapt login/signup to common flow provided in external_auth.
Changes per #3174 review.
Merge pull request #3174 from sergii-tkachenko/DS-379_uk-common-auth-module

UK SSO: adapt login/signup to common flow provided in external_auth.