backend port cannot be over 65535
improve logging when incorrectly configuring a backend. Also properly
check that the server specified requires authentication (fixes #93)