Authentication based on users and NAS