Added basic functional tests for sanity-checking login