Updating auth mechanism to use STDIN instead of stored files