Fix autologin library test to use the correct test layer
Update documentation