fixed Issue 1416:auth.wiki login loop unless the user is admin, thanks Alan