BUGFIX: Fixed global username and password bug for basic auth