s3:utils: Fix the auth function to print correct values to the user