Added support for basic authentication in admin panel