Code snippet demonstrating how to do basic auth with an electric imp