Add HTTP Basic Authentication for users and apps. Apps use name and auth_token as authentication keys.