Make it possible to set admin auth

Some admin functionality in the web interface need to have admin auth
setup.

Signed-off-by: Gabriel Filion <gabster@lelutin.ca>