added support for cross origin lit login