Ended up calling visit login_path too many times so changed this provider_url method back