Another try with authentication/authorization

Since google authentication did not work on production due to firewall, this is a less attractive solution that hopefully works.