Fixes #58 auth_file variable undefined.

Instead of checking if this variable exists, which doesn't
if http_auth has not been enabled, we can check if http_auth
has been defined.