Don't authenticate when no user/pass configured.

When camera is configured for anonymous access username and password is
optional. However, authenticating using the wrong username/password
causes frame rate to drop to 1fps (probably due to auth timeout).
Authentication handler should be optional if no username or password is
configured.