Fix simple authentication