kbase login upgrade

upgraded Auth.pm to work smoother with kbase keys