fixes bug 997923 - Insufficient Permissions should not redirect to the Login Page