fix login with no providers