Adds preliminary work for the authentication layer.