Made login prompt repeat upon failure.