Minor redirect bugfix for /admin path

Returns user back to index now, if he tries goget in the admin section
without being registered - old code was throwing some notices and
warnings.