Remove \n from username and password