Fixes for authenticationt tutorials