Fix bug 1055708 - Refactor AllAuth front-end JavaScript and prevent multiple JS inclusions

Add test for ensuring Persona form is provided to the page