Enabling authentication and https