PFA patch to fix the issue where user enters non ascii username/password (invalid credentials) while creating new server and it throws error.
RM#2160
This patch also includes some other minor fixes for the same issue in some other files where we are passing error to gettext() if it includes non ascii words then it breaks in Python2.7.