fixed login_required
added tests for login_required
Merge branch 'personal/mschuknecht/login_required'