Use Django Braces and cleanup login template

fixes #140 and #141