The back-end and the front-end should have testing that helps ensure the quality of the authentication functionality is reasonable.