Finish login authorisation and redirects for public and admin login logout