Minor changes in basic http auth handling.