Separate socialaccount related parts of login.html into a separate template to prevent templatetag not found error when allauth.socialaccounts is not installed.