Fix bug in login template load
Make sure the python-social-auth requirement is always local