Refactor elActivateGraphicalLogin