test for parsing of login failure
initialise messages object