Allow local tests to run with subsets
Remove denug statement
Fix typo in redirct
Refactoring login tests and added redirect testing