Solved problems with auth.