4115 Make sure admin exists before using login on activities page
Merge pull request #1879 from sarken/issue_4115

4115 Make sure admin exists before using login on activities page