Fixed routing so that admin and anonymous pages share the security context