Updated code so that server will keep on listening even if auth fails,
client will need to be restarted and try again.