Fixed a problem with username and password parsing