Login's fail with debug mode

This is straight forwarder and looks like it was debugging code that got left in place.