Make it configurable to allow anonymous user.

Now we can use the config file to allow if we should support
anonymous user login.