Fix logins from CommTrack.org

http://manage.dimagi.com/default.asp?139348
The first commit is where the work happens, the second is just a bunch of `{% url %}` tags changed to reflect the new change.