Build the correct plugin_loader.go when a plugin project is accessed via https+auth

This small change builds the correct plugin_loader.go when a plugin project is accessed via https+auth.