Trim text from user and password fields

...before sending to and comparing with grid return data.