Hey Toffsam,
How you added users from SQL.
What is the Command that you have used?
There are two ways to Get into the database if your users is not in the database -
a) Delete all user related setting from SQL as listed in below Post.
saurav-nav.blogspot.in/.../you-are-not-authorized-to-sign-in.html
b) Enter User Details in User Related Tables From SQL as listed in Below Post.
First Way is easy. Let me know if you need any other information.