made password for bad username test correct.
Factored out is_basic_http_auth_correct() function from health_check().
Factored out calculate_overall_status() function from health_check().
minor code style fixups
remove unused imports.