Only show dialog if needed
Generalize the data generation for the workspace
Remove commented out dead code
Grant global access to Address model
setup test password
Set session's fields and handle logins