Token-Based Authentication: How Bearer Tokens Work in Modern Apps