fix access denied redirect loop bug
Merge pull request #1157 from loomio/fix-access-denied-redirect

fix access denied redirect loop bug