add test for whitespace handling in parse_auth