Fixes login issues adding origin to requests