Redirect setup if authenticated

closes #3145
- added beforeModel redirect
- added test
Merge pull request #3172 from sebgie/issue#3145

Redirect setup if authenticated