Simplification of authentication code.