ticket:5 added login template and url, corrected tests (!200 to 302)