Basic auth working with way too much stuff hardcoded