Impersonate user should allow logging in to subsite with different domain

Description

Current implementation of impersonate user will not work if trying to log into a subsite with a different URL.

Fix this by refactoring the logic, and also allow for target URL to be passed to the impersonate command.

Maintain backwards compatibility

Status

Assignee

Seb Duggan

Reporter

Seb Duggan

Labels

None

Accepted

Yes

Fix versions

Priority

Medium
Configure