Securing your REST API with basic authentication