refactor login tests and add users test
refactor code style
change back default allScriptsTimeout
just a little refactoring
bugfix empty state refs