[fix][34023] Admin activation of users by email link not working if logged in to frontend. Fixes #3239. Fixes #4104

Update registration.php