Got some really basic authentication going. Ugly but it works for now.