Finally fix http credentials parsing.