fixed issue where extra spaces in server field of login screen caused it to not work