Added basic authentication support via sqlite