Now allows login with both GET and POST.