Further fleshed out authentication mechanisms.