Check that the user has permission to see the admin dashboard before redirecting them there. Fixes #431