Added test db config, added login test