Debugging login loop.