Authentication related additions.