Added additional test for Authentication and related classes
Moved SQL execution code to its own class.