Remove unnecessary trim calls on username and password.