Use write instead of print for login prompt.